home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / xmore.arc / XMORE.TXT < prev   
Text File  |  1990-05-01  |  2KB  |  44 lines

  1. eXtended more V1.0 by Gregory Mathias Lemperle-Kerr
  2.  
  3.  
  4.     For use with Gemini/Mupfel & maybe Gulam.
  5.  
  6.     I use Gemini/Mupfel, so I can't guarantee Gulam will work.  If
  7. shellp is past as a pointer to a null null terminated set of null terminated
  8. VARIABLE=VALUE type strings, it will work.
  9.  
  10.     I originally started this as a more that would work with .PI3 files.
  11. It still does that as well as .DOO files.  If you put the line:
  12.  
  13. alias more xmore
  14.  
  15. into your mupfel.mup or gemini.mup or gulam.g files, and place xmore.ttp into
  16. one of your paths in $PATH, xmore will replace the more command.  It will
  17. display degas and doodle pictures on its own, but after a frustrating bout
  18. with .IMG displaying, I decided that there were enough external programs
  19. that do a better job.  XMORE will search through the environment variables
  20. for a variable of the form: MORE???=path\program,arg.  The ???'s can be 1-3
  21. characters or nonexistant.  The extension of the program chosen will decide
  22. which program will view it.  For example, in my mupfel.mup file, I have:
  23.  
  24. alias more xmore
  25. setenv MOREDFT E:\BIN\MORE.TTP
  26. setenv MOREDOC E:\TEMPUS.APP
  27. setenv MORETXT C:\AUTO\QUICK\QVIEW.PRG
  28. setenv MOREARC E:\BIN\ARC.TTP,v
  29. setenv MORELZH E:\BIN\LZH.TTP,v
  30. setenv MOREZOO E:\BIN\ZOO.TTP,v
  31. setenv MOREPS  G:\USCRIPT\USCRIPT.PRG
  32.  
  33. (notice the MOREDFT which sets the default viewer if none of the extensions
  34.     match that of the file)
  35.  
  36. I suppose the dvi viewer could be set up to take dvi files also.
  37.  
  38. Turbo C 2.0 source is included.
  39.  
  40.  
  41. Have fun.
  42.  
  43.         -- Greg
  44.